SaveUserDataProfileCallback

A callback that is invoked when the user is prompted to save the user data profile to the user data store.

The callback is invoked when the user submits a web form where fields are associated with a user data profile such as city, state, street, zip code, email address, etc.

This callback is equivalent to the "Save Address?" bubble in Chromium.

Use the save method to save this user data profile to the autofill store. All saved user data profiles are shown in the suggestion pop-up when focusing the web form control.

Use the decline method to decline to save the user data profile. If the current profile is declined then the callback will be invoked again when submitting the web form with the same user data.

The callback is not invoked if autofill is disabled.

Inheritors

Types

Link copied to clipboard
An action providing a response to the SaveUserDataProfileCallback.
Link copied to clipboard
interface Params
The parameters of the SaveUserDataProfileCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.